import Vue from 'vue';
import Vuex from 'vuex';
import storage from '../utils/storage'
import mutations from './mutations'

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    userInfo: storage.getItem('userInfo') || null,
  },
  mutations,
  actions: {
  },
  modules: {
  },
});
